home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Games 1996 July
/
Amiga Games 1996 #7.iso
/
rexx
/
examples
/
xtruder_checkfiles.rexx
next >
Wrap
OS/2 REXX Batch file
|
1996-02-20
|
456b
|
28 lines
/*
** 'CheckFiles' example
*/
Options Results
Address XTRUDER
CheckFiles 'C:Dir' 'C:List'
IF RC < 0 THEN
Say 'Error 'RC' occured!'
ELSE IF RC = 0 THEN
Say 'No vira found in checked files'
ELSE IF RC > 0 THEN
DO
Say 'Number of vira found: ' RC
Say ''
DO x=1 to RC
GetVirusName x
Say 'Virus name: ' result''
GetVirusFileName x
Say 'Virus file name:
' result'
'
Say ''
END
END